package com.xitest.designpattern.template_adapter.adapter.loginadapter.v1.service;

import com.xitest.designpattern.template_adapter.adapter.loginadapter.ResultMsg;

public interface SiginService {
    /**
     * 注册方法
     * @param username
     * @param password
     * @return
     */
    public ResultMsg regist(String username, String password);


    /**
     * 登录的方法
     * @param username
     * @param password
     * @return
     */
    public ResultMsg login(String username,String password);
}
